<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateDateReportStatus extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('date_report_status', function (Blueprint $table) {
            $table->increments('id');
            $table->string('cinema_code',20);
            $table->timestamp('business_date')->nullable();
            $table->integer('flag');//1=》上报成功，2=》上报失败
            $table->integer('type');//1=》正常报，2=》补报
            $table->timestamp('date_time')->nullable();//上报时间
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('date_report_status');
    }
}
